/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package scms;

/**
 * serializer helper class
 * @author pumped
 */
public class ExportProduct {

	private int id;
	private int pid;
	private int backorder;

	/**
	 * constructor
	 * @param id items id
	 * @param pid products id
	 * @param backorder amount on order
	 */
	public ExportProduct(int id, int pid, int backorder) {
		this.id = id;
		this.pid = pid;
		this.backorder = backorder;
	}

	/**
	 * default constructor
	 */
	public ExportProduct() {
	}

	/**
	 * get products backorder
	 * @return
	 */
	public int getBackorder() {
		return backorder;
	}

	/**
	 * set products backorder
	 * @param backorder
	 */
	public void setBackorder(int backorder) {
		this.backorder = backorder;
	}

	/**
	 * gets items id
	 * @return
	 */
	public int getId() {
		return id;
	}

	/**
	 * sets items id
	 * @param id item id
	 */
	public void setId(int id) {
		this.id = id;
	}

	/**
	 * gets prdoucts id
	 * @return product id
	 */
	public int getPid() {
		return pid;
	}

	/**
	 * sets products id
	 * @param pid products id
	 */
	public void setPid(int pid) {
		this.pid = pid;
	}
}
